package com.bdcom.nms.NmsCollect.test.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bdcom.nms.NmsCollect.test.dao.Udao;
import com.bdcom.nms.NmsCollect.test.po.Users;
import com.bdcom.nms.NmsCollect.test.service.Uservice;
@Service("uservice")
public class UserviceImpl implements Uservice{
	
	//	private Udao udao=new UdaoImpl();
	
	@Autowired
	private Udao udao;
	
	@Transactional
	public Users getUsersByID(Integer uid) {
		// TODO Auto-generated method stub
		return udao.getUsersByID(uid);
	}

}
